package com.marvels.approve.process.dao;

import com.marvels.approve.process.dto.McamResignStateMsgDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface McamResignStateMsgDao {
    int deleteByPrimaryKey(Long id);

    int insert(McamResignStateMsgDTO record);

    int insertSelective(McamResignStateMsgDTO record);

    McamResignStateMsgDTO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(McamResignStateMsgDTO record);

    int updateByPrimaryKey(McamResignStateMsgDTO record);
    
    
    /**
     * 更新批次号
     * @param batchName
     * @return
     */
    public int updateBatchName(@Param("batchName") String batchName);
    
    /**
               * 更新批次号
     * @param batchName
     * @return
     */
    public int updateDownLoadBatchName(@Param("batchName") String batchName);
    
    /**
     * 根据批次号查询列表
     * @param batchName
     * @return
     */
    public List<McamResignStateMsgDTO> selectByBatchName(@Param("batchName") String batchName);
} 